package com.itheima.control;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.Mapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author tongchen
 * @create 2022-12-20 20:26
 */
@RestController
@RequestMapping("/books")
public class BookControl {
    @GetMapping
    public String getMapping(){
        System.out.println("get mapping....");
        return "gettingMaping....";
    }
}
